package com.tocean.demo.entity.questionbank;

import com.tocean.demo.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_testrelation")
public class TestRelation extends BaseEntity {
    /**
     * 试卷id
     */
    @Column(name = "testid")
    private Long testid;

    /**
     * 题目id
     */
    @Column(name = "questionid")
    private Long questionid;


}
